package com.ms.common.utils;

import java.util.concurrent.TimeUnit;

/**
 * 线程工具类
 *
 * @Author: ganbo
 * @Date: 2020/12/28 18:39
 */
public class ThreadUtils {

    /**
     * @param seconds sleep 单位秒
     */
    public static void sleepSeconds(long seconds) {
        try {
            TimeUnit.SECONDS.sleep(seconds);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
